package com.tuweiya.study.springmvc002.logger;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * @Author: Mr_tu
 * @Date: Create in 12:13 2018/6/8
 * @Description: 日志类
 */
public class Log4jTest {
    private static Log logger = LogFactory.getLog(Log4jTest.class);

    public static void main(String[] args){
        logger.trace("log4j:我是trace信息");
        logger.debug("log4j:我是debug信息");
        logger.info("log4j:我是info信息");
        logger.warn("log4j:我是warn信息");
        logger.error("log4j:我是error信息");
        logger.fatal("log4j:我是fatal信息");
    }
}
